# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'wsn_main.ui'
#
# Created: Thu Feb  4 13:49:13 2010
#      by: PyQt4 UI code generator 4.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(722, 565)
        self.centralWidget = QtGui.QWidget(MainWindow)
        self.centralWidget.setObjectName("centralWidget")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralWidget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.progressBar_Humidity = QtGui.QProgressBar(self.centralWidget)
        self.progressBar_Humidity.setMaximum(3000)
        self.progressBar_Humidity.setProperty("value", 24)
        self.progressBar_Humidity.setObjectName("progressBar_Humidity")
        self.gridLayout_2.addWidget(self.progressBar_Humidity, 1, 2, 1, 1)
        self.checkBox_HumidityRefresh = QtGui.QCheckBox(self.centralWidget)
        self.checkBox_HumidityRefresh.setObjectName("checkBox_HumidityRefresh")
        self.gridLayout_2.addWidget(self.checkBox_HumidityRefresh, 1, 3, 1, 1)
        self.label_Water = QtGui.QLabel(self.centralWidget)
        self.label_Water.setObjectName("label_Water")
        self.gridLayout_2.addWidget(self.label_Water, 3, 0, 1, 1)
        self.progressBar_Water = QtGui.QProgressBar(self.centralWidget)
        self.progressBar_Water.setMaximum(17)
        self.progressBar_Water.setProperty("value", 6)
        self.progressBar_Water.setObjectName("progressBar_Water")
        self.gridLayout_2.addWidget(self.progressBar_Water, 3, 2, 1, 1)
        self.checkBox_WaterRefresh = QtGui.QCheckBox(self.centralWidget)
        self.checkBox_WaterRefresh.setObjectName("checkBox_WaterRefresh")
        self.gridLayout_2.addWidget(self.checkBox_WaterRefresh, 3, 3, 1, 1)
        self.label_Valve = QtGui.QLabel(self.centralWidget)
        self.label_Valve.setObjectName("label_Valve")
        self.gridLayout_2.addWidget(self.label_Valve, 5, 0, 1, 1)
        self.spinBox_Valve = QtGui.QSpinBox(self.centralWidget)
        self.spinBox_Valve.setMaximum(255)
        self.spinBox_Valve.setProperty("value", 60)
        self.spinBox_Valve.setObjectName("spinBox_Valve")
        self.gridLayout_2.addWidget(self.spinBox_Valve, 5, 1, 1, 1)
        self.progressBar_Valve = QtGui.QProgressBar(self.centralWidget)
        self.progressBar_Valve.setMaximum(255)
        self.progressBar_Valve.setProperty("value", 43)
        self.progressBar_Valve.setObjectName("progressBar_Valve")
        self.gridLayout_2.addWidget(self.progressBar_Valve, 5, 2, 1, 1)
        self.checkBox_ValveRefresh = QtGui.QCheckBox(self.centralWidget)
        self.checkBox_ValveRefresh.setObjectName("checkBox_ValveRefresh")
        self.gridLayout_2.addWidget(self.checkBox_ValveRefresh, 5, 3, 1, 1)
        self.pushButton_Valve = QtGui.QPushButton(self.centralWidget)
        self.pushButton_Valve.setObjectName("pushButton_Valve")
        self.gridLayout_2.addWidget(self.pushButton_Valve, 6, 2, 1, 1)
        self.pushButton_Refresh = QtGui.QPushButton(self.centralWidget)
        self.pushButton_Refresh.setObjectName("pushButton_Refresh")
        self.gridLayout_2.addWidget(self.pushButton_Refresh, 6, 3, 1, 1)
        self.horizontalSlider_Valve = QtGui.QSlider(self.centralWidget)
        self.horizontalSlider_Valve.setMaximum(255)
        self.horizontalSlider_Valve.setProperty("value", 43)
        self.horizontalSlider_Valve.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider_Valve.setObjectName("horizontalSlider_Valve")
        self.gridLayout_2.addWidget(self.horizontalSlider_Valve, 6, 0, 1, 2)
        self.label_Humidity = QtGui.QLabel(self.centralWidget)
        self.label_Humidity.setObjectName("label_Humidity")
        self.gridLayout_2.addWidget(self.label_Humidity, 1, 0, 1, 1)
        self.checkBox_HumidityRenew = QtGui.QCheckBox(self.centralWidget)
        self.checkBox_HumidityRenew.setObjectName("checkBox_HumidityRenew")
        self.gridLayout_2.addWidget(self.checkBox_HumidityRenew, 1, 4, 1, 1)
        self.checkBox_WaterRenew = QtGui.QCheckBox(self.centralWidget)
        self.checkBox_WaterRenew.setObjectName("checkBox_WaterRenew")
        self.gridLayout_2.addWidget(self.checkBox_WaterRenew, 3, 4, 1, 1)
        self.doubleSpinBox_Water = QtGui.QDoubleSpinBox(self.centralWidget)
        self.doubleSpinBox_Water.setEnabled(False)
        self.doubleSpinBox_Water.setDecimals(3)
        self.doubleSpinBox_Water.setObjectName("doubleSpinBox_Water")
        self.gridLayout_2.addWidget(self.doubleSpinBox_Water, 3, 1, 1, 1)
        self.doubleSpinBox_Humidity = QtGui.QDoubleSpinBox(self.centralWidget)
        self.doubleSpinBox_Humidity.setEnabled(False)
        self.doubleSpinBox_Humidity.setDecimals(3)
        self.doubleSpinBox_Humidity.setMaximum(9999.99)
        self.doubleSpinBox_Humidity.setObjectName("doubleSpinBox_Humidity")
        self.gridLayout_2.addWidget(self.doubleSpinBox_Humidity, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_2)
        self.line = QtGui.QFrame(self.centralWidget)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.textBrowser_Messages = QtGui.QTextBrowser(self.centralWidget)
        self.textBrowser_Messages.setEnabled(True)
        self.textBrowser_Messages.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.textBrowser_Messages.setOpenLinks(False)
        self.textBrowser_Messages.setObjectName("textBrowser_Messages")
        self.verticalLayout.addWidget(self.textBrowser_Messages)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        MainWindow.setCentralWidget(self.centralWidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 722, 21))
        self.menubar.setObjectName("menubar")
        self.menuWatering_System = QtGui.QMenu(self.menubar)
        self.menuWatering_System.setObjectName("menuWatering_System")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionExit = QtGui.QAction(MainWindow)
        self.actionExit.setObjectName("actionExit")
        self.menuWatering_System.addAction(self.actionExit)
        self.menubar.addAction(self.menuWatering_System.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(self.spinBox_Valve, QtCore.SIGNAL("valueChanged(int)"), self.progressBar_Valve.setValue)
        QtCore.QObject.connect(self.spinBox_Valve, QtCore.SIGNAL("valueChanged(int)"), self.horizontalSlider_Valve.setValue)
        QtCore.QObject.connect(self.horizontalSlider_Valve, QtCore.SIGNAL("valueChanged(int)"), self.progressBar_Valve.setValue)
        QtCore.QObject.connect(self.horizontalSlider_Valve, QtCore.SIGNAL("valueChanged(int)"), self.spinBox_Valve.setValue)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "WSN Watering Control - PC Gateway", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_HumidityRefresh.setText(QtGui.QApplication.translate("MainWindow", "Refresh humidity", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Water.setText(QtGui.QApplication.translate("MainWindow", "Water Level", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_WaterRefresh.setText(QtGui.QApplication.translate("MainWindow", "Refresh water level", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Valve.setText(QtGui.QApplication.translate("MainWindow", "Valve Throttle", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_ValveRefresh.setText(QtGui.QApplication.translate("MainWindow", "Refresh valve throttle", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_Valve.setText(QtGui.QApplication.translate("MainWindow", "Adjust valve", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_Refresh.setText(QtGui.QApplication.translate("MainWindow", "Refresh", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Humidity.setText(QtGui.QApplication.translate("MainWindow", "Humidity", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_HumidityRenew.setText(QtGui.QApplication.translate("MainWindow", "Measure humidity", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_WaterRenew.setText(QtGui.QApplication.translate("MainWindow", "Measure water level", None, QtGui.QApplication.UnicodeUTF8))
        self.menuWatering_System.setTitle(QtGui.QApplication.translate("MainWindow", "Watering System", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setText(QtGui.QApplication.translate("MainWindow", "Exit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setShortcut(QtGui.QApplication.translate("MainWindow", "Alt+E", None, QtGui.QApplication.UnicodeUTF8))

